package com.smartEdu.module.thrift.server.helloworld;

import org.apache.thrift.TException;
import org.springframework.stereotype.Component;
import com.smartEdu.module.thrift.common.ThriftServiceIface;

@ThriftServiceIface
@Component(value="HelloWorldService")
public class HelloWorldServiceImpl implements HelloWorldService.Iface{

	@Override
	public String sayHello(String username) throws TException {
		System.err.println("用户【"+username+"】 说了hello");
		return "服务器收到啦";
	}
}
